package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.EquipTypeDto;
import com.eric.domain.po.EquipType;
import com.github.yulichang.base.MPJBaseService;

/**
 * <p>
 * 设备类型 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-04-26
 */
public interface IEquipTypeService extends MPJBaseService<EquipType> {

    SaResult saveOneEqTypeService(EquipTypeDto equipTypeDto);

    SaResult modifyOneService(EquipTypeDto equipTypeDto);

    SaResult getAllService(Integer current,Integer pageSize);

    SaResult getByNameService(String parentType,Integer current,Integer pageSize);

    SaResult getByFullName(String parentType, String childType,Integer current,Integer pageSize);

    SaResult deleteByIdService(Integer id);

    SaResult getAllCountService();

    SaResult getAllByPageService(Integer current, Integer pageSize);

    SaResult getByIdService(Integer id);
}
